package com.beimi.game.action;

import com.beimi.game.MJService;
import com.beimi.game.player.GamePlayer;

public class DelayAiAction extends DelayAction {
	
	private GamePlayer player;
	private MJService service;

	public DelayAiAction(GamePlayer player, MJService service, long delay) {
		super(delay);
		this.player = player;
		this.service = service;
	}

	@Override
	public void executeAtTime() {
		service.randomChuPai(player);
		finished();
	}
}
